home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990422-19990725 / 000131_news@watsun.cc.columbia.edu _Tue Jun 8 10:55:06 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA17037
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 8 Jun 1999 10:55:05 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA01986
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 8 Jun 1999 10:46:12 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: Contents of Kermit lock file?
  11. Date: 8 Jun 1999 14:46:08 GMT
  12. Organization: Columbia University
  13. Message-ID: <7jjabh$1tv$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <7jj45v$k4t$1@nnrp1.deja.com>,  <bkomar@acm.org> wrote:
  17. : Can someone tell me what data is contained in the lock file that
  18. : kermit creates when it has a connection to a tty device. I'm trying
  19. : to use that same lock, so that my tty program and kermit will respect
  20. : each others locks and not access the same tty at the same time.
  21. The name, location, permissions, owner, group, and contents of the
  22. lock file depend on the operating system and version, and in some
  23. cases also on the UUCP product and version.  Usually the lockfile
  24. contains Kermit's process ID (pid) as a text string, but sometimes as
  25. a binary number.  When it's a text string it might have leading blanks
  26. or zero characters.  When it's a binary number, it might have 2 or 4
  27. or some other number of bytes.
  28.  
  29. The variations are endless, and depend on the whim and caprice of the
  30. UUCP programmers for each UNIX variety, who are fond of making subtle
  31. or not-so-subtle changes with every new release.
  32.  
  33. For more information about lock files, see:
  34.  
  35.   ftp://kermit.columbia.edu/kermit/test/text/ckuins.txt
  36.  
  37. sections 10 and 11.
  38.  
  39. - Frank